'gskprofilerprivate.h',
'gskrendererprivate.h',
'gskrendernodeprivate.h',
+ 'gskrendernodeparserprivate.h',
'gskroundedrectprivate.h',
'gskshaderbuilderprivate.h',
'gsktextureprivate.h',
+ 'gsktransformprivate.h',
'gskvulkanblendpipelineprivate.h',
'gskvulkanborderpipelineprivate.h',
'gskvulkanboxshadowpipelineprivate.h',
* @node: (type GskLinearGradientNode): a #GskRenderNode for a linear gradient
* @n_stops: (out) (optional): the number of color stops in the returned array
*
- * Retrievs the color stops in the gradient.
+ * Retrieves the color stops in the gradient.
*
* Returns: (array length=n_stops): the color stops in the gradient
*/
gsk_render_node_diff_impossible (node1, node2, region);
}
+/**
+ * gsk_border_node_peek_outline:
+ * @node: (type GskBorderNode): a #GskRenderNode for a border
+ *
+ * Retrieves the outline of the border.
+ *
+ * Returns: the outline of the border
+ */
const GskRoundedRect *
gsk_border_node_peek_outline (GskRenderNode *node)
{
return &self->outline;
}
+/**
+ * gsk_border_node_peek_widths:
+ * @node: (type GskBorderNode): a #GskRenderNode for a border
+ *
+ * Retrieves the stroke widths of the border.
+ *
+ * Returns: (transfer none): an array of 4 floats for the top,
+ * right, bottom and left stroke width of the border
+ */
const float *
gsk_border_node_peek_widths (GskRenderNode *node)
{
return self->border_width;
}
+/**
+ * gsk_border_node_peek_colors:
+ * @node: (type GskBorderNode): a #GskRenderNode for a border
+ *
+ * Retrieves the colors of the border.
+ *
+ * Returns: (transfer none): an array of 4 #GdkRGBA structs
+ * for the top, right, bottom and left color of the border
+ */
const GdkRGBA *
gsk_border_node_peek_colors (GskRenderNode *node)
{
return self->has_color_glyphs;
}
+/**
+ * gsk_text_node_get_num_glyphs:
+ * @node: (type GskTextNode): a text #GskRenderNode
+ *
+ * Retrieves the number of glyphs in the text node.
+ *
+ * Returns: the number of glyphs
+ */
guint
gsk_text_node_get_num_glyphs (GskRenderNode *node)
{